import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home')
  },
  
  // 智慧牧场智慧屏幕 （牛-红色）
  {
    path: '/demo-makido:val',
    // component: () => import('@/views/bigscreenDesigner/demonstrationMakido/index'),
    component: () => import('@/views/bigscreenDesigner/demonstrationMakido/index-old'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },

  // 乌审旗  智慧牧场智慧屏幕 （羊-红色）
  {
    path: '/personal-makido',
    component: () => import('@/views/bigscreenDesigner/demonstrationMakido/personal-bigscreen'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },


  // 新增 页面
  {
    path: '/animal-page/cun-lan',
    name: 'CunLan',
    component: () => import('@/views/animal-page/cun-lan')
  },
  {
    path: '/animal-page/chu-lan',
    name: 'ChuLan',
    component: () => import('@/views/animal-page/chu-lan')
  },
  {
    path: '/animal-page/xu-chan-liang',
    name: 'XuChanLiang',
    component: () => import('@/views/animal-page/xu-chan-liang')
  },






  
  //  ================== ppt 设计页面 ===================
  {
    path: '/mengHeNaShunPage',
    name: 'mengHeNaShunPage',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/mengHeNaShunPage')
  },
  {
    path: '/bigscreen/mengHeNaShunOxDetail',
    name: 'mengHeNaShunOxDetail',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/mengHeNaShunOxDetail')
  },

  {
    path: '/bigscreen/menuPage',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/menuPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/countyPage',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/countyPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/countyPage2',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/countyPage2'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/countyAnimal',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/countyAnimalPaiHang'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/countyFarmal',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/countyFarmalPaiHang'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  
  // 苏木镇 农牧业统计
  {
    path: '/bigscreen/townPage/:townId/:townName',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/townPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  // 苏木镇 农业统计
  {
    path: '/bigscreen/townFarmal/:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/townFarmalPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  // 苏木镇 牧业统计
  {
    path: '/bigscreen/townAnimal/:townId/:townName',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/townAnimalPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/yuZhongJiLu',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/yuZhongJiLu'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/fangYiJiLu',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/fangYiJiLu'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/villageFangYiTongJi:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/villageFangYiTongJi'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },

  // ---- 嘎查 -----
  {
    path: '/bigscreen/villageFarmalPage:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/villageFarmalPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/villageAnimalPage/:villageId/:villageName',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/villageAnimalPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/hamletFangYiTongJi:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/hamletFangYiTongJi'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/personState:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/personState'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/mashineState:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/mashineState'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/tuDiLiuZhuan',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/tuDiLiuZhuan'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/tuDiQueQuan',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/tuDiQueQuan'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/tuDiLiuZhuanChart',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/tuDiLiuZhuanChart'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },

  {
    path: '/bigscreen/muHuPage/:muHuId/:muHuName',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/muHuPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/oxDetail:val',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/oxDetail'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/siCaoShangPage',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/siCaoShangPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/orderPage',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/orderPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/productPage',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/productPage'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  // 用户发送位置后显示点标记
  {
    path: '/bigscreen/dianBiaoJi',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/dianBiaoJi'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/bigscreen/qiYe',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/test'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  // 防疫呼叫
  {
    path: '/bigscreen/fangYiHuJiao',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/fangYiHuJiao'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
  // 防疫诊疗 工作统计
  {
    path: '/bigscreen/gongZuoTongJi',
    component: () => import('@/views/bigscreenDesigner/showPage/pages/gongZuoTongJi'),
    hidden: true,
    meta: {
      requireAuth: true
    }
  },
]

const router = new VueRouter({
  // mode: 'hash',
  routes
})

export default router
